package com.kaka.bus.engine.home.info.borrowlist.deteil;

import com.kaka.bus.bean.BorrowDeteil;
import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

/**
 * Created by OnionMac on 2018/1/3.
 */

public interface BorrowDeteilContract {

    interface View extends BaseView{
       void getDeteilResult(HttpWrapper<BorrowDeteil> data);
        void refresh();
    }

    interface Presenter extends BasePresenter<View>{

        void getBorrowDeteil(String userId, String token, String borrowId);
        void cancelRequest(String userId, String token,String borr_id);
    }
}
